<?php

namespace Admin\Model;
use Think\Model;
/**
 * 配置模型
 * @author 麦当苗儿 <zuojiazi@vip.qq.com>
 */

class SystemModel extends Model {
	
	protected $trueTableName = 'bhy_system_message';
	
    protected $_validate = array(
        array('title', 'require', '标题不能为空!', self::EXISTS_VALIDATE, 'regex', self::MODEL_BOTH),
		array('project_id', 'require', '项目名称必须选择！', self::EXISTS_VALIDATE, 'regex', self::MODEL_BOTH),
		array('content', 'require', '推送内容必须填写！', self::EXISTS_VALIDATE, 'regex', self::MODEL_BOTH),

    );



}
